package com.city.itis.domain;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;



/**
 * 用户信息JavaBean值类
 * @author WY
 *
 */

@Entity
@Table(name = "user")
public class User implements Serializable {
	private static final long serialVersionUID = 1L;	//系统自动生成的版本序列号
	
	private Integer id=null;	//用户编号
	private String userId=null;	//用户账号
	private String name=null;	//用户名称
	private String password=null;	//用户密码
	private String sex=null;		//用户性别
	private Integer age=null;		//用户年龄
	private String tel=null;		//用户联系电话
	private String email=null;		//用户Email
	private String photoName=null;		//用户头像
	
	@Id
	@GeneratedValue
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPhotoName() {
		return photoName;
	}
	public void setPhotoName(String photoName) {
		this.photoName = photoName;
	}
	
	
	
	

}
